import request from "@/utils/request";

// 查询企业列表
export function listCheckOrg(query) {
  return request({
    url: '/checkOrg/list',
    method: 'get',
    params: query
  })
}


export function getCheckOrg(id){
  return request({
    url: '/checkOrg/' + id,
    method: 'get'
  })
}


export function deleteCheckOrg(ids){
  return request({
    url: '/checkOrg/' + ids,
    method: 'delete'
  })
}


export function updateCheckOrg(data){
  return request({
    url: '/checkOrg/update',
    method: 'post',
    data: data
  })
}


export function addCheckOrg(data){
  return request({
    url: '/checkOrg/add',
    method: 'post',
    data: data
  })
}
